<script type="text/javascript">
$(document).ready(function(){
    $("#media_menu").addClass("active");
    $("a[rel^='prettyPhoto']").prettyPhoto();
});
</script>
<?php echo image_tag('pics') ?>
<div id="immagini">
    
    <?php foreach($thumbs as $t): ?>
        <div class="thumb">
            <a href="../../uploads/media/<?php echo $t->getImg() ?>" rel="prettyPhoto[gallery]" title="<?php echo $t->getTitle() ?>">
                <?php echo image_tag('../uploads/media/thumb/'.$t->getImg(),
                    array('border' => 0, 'alt' => $t->getTitle())) ?>
            </a>
        </div>
    <?php endforeach; ?>
</div>

<?php slot('boxdx') ?>
    <?php include_partial('global/twitter') ?>
    <?php include_component('show', 'nextShow') ?>
    <?php include_component('blog', 'latestPost') ?>
<?php end_slot() ?>